package cn.dakaqi.util;

import org.springframework.context.annotation.Lazy;

/**
 * @author beliveli
 * Get information from config file
 */
@Lazy(false)
public class ConfigUtil {
    
    private static String clientId;//端编号
    private static String pubKey;//端公钥
    private static String appRoot;//网站地址
    private static String rongcloudKEY;//融云KEY
    private static String rongcloudSECRET;//融云SECRT

    public static String getRongcloudKEY()
    {
        return rongcloudKEY;
    }

    public void setRongcloudKEY(String rongcloudKEY)
    {
        ConfigUtil.rongcloudKEY = rongcloudKEY;
    }

    public static String getRongcloudSECRET()
    {
        return rongcloudSECRET;
    }

    public void setRongcloudSECRET(String rongcloudSECRET)
    {
        ConfigUtil.rongcloudSECRET = rongcloudSECRET;
    }

    public static String getAppRoot()
    {
        return appRoot;
    }

    public void setAppRoot(String appRoot)
    {
        ConfigUtil.appRoot = appRoot;
    }

    public static String getClientId() {
        return clientId;
    }

    public static void setClientId(String clientId) {
        ConfigUtil.clientId = clientId;
    }

    public static String getPubKey()
    {
        return pubKey;
    }

    public void setPubKey(String pubKey)
    {
        ConfigUtil.pubKey = pubKey;
    }
}
